# Define macros for name of compiler
CC = gcc

# Define a macr o for the CC flags
CCFLAGS = -D_DEBUG -g -lm
CFLAGS := -ggdb -Wall -lm

OBJS=web_server.o
DEST=web_server

errno:errno.c

$(DEST):$(OBJS)
	$(CC) -o $@ $^ $(CCFLAGS)

%.o:%.c
	$(CC) -c $^ -o $@
clean:
	rm -f *.o
